<div class="main">
	<!-- <bid-tabs
	  query-fn="inspectContent.paginationQuery"
	  query-bean="inspectContent.queryData"
	  query-param="bidId"
	  query-type="bid"></bid-tabs> -->
	<div class="query-info shadowbox">
		<div class="container-header">问题追踪</div>
			<div class="pa-table-container">
				<form class="base-info">
					<table class="pa-table">
						<thead>
							<tr>
								<th>内容来源</th>
								<th>巡查记录</th>
								<th>内容编号</th>
								<th>巡查地点</th>
								<th>巡查分类</th>
								<th>巡查单位</th>
								<th>内容提交时间</th>
								<th>整改期限</th>
								<th>巡查结果</th>
								<th>状态</th>
								<th style="width: 113px;">操作</th>
							</tr>
						</thead>
						<tbody>
							<tr ng-repeat="item in inspectContent.inspectContentList">
								<td>{{item.taskType ? '日常巡查' : '平安考核'}}</td>
								<td>{{item.taskName}}</td>
								<td>{{item.contentNumber}}</td>
								<td>{{item.bidName}}</td>
								<td>{{item.checkClassifyName}}</td>
								<td>{{item.role == '0' ? '指挥部' : 
											item.role == '1' ? '总监办' :
											item.role == '2' ? '项目部' : ''}}</td>
								<td>{{item.problemFoundTime1}}</td>
								<td>{{item.problemDeadline1}}</td>
								<td>
		              {{item.problemStatus == 3 ? '符合要求' : '不符合要求'}}
								</td>
								<td ng-class="{'after-rectify': item.problemStatus == '0',
										'ongoing': item.problemStatus == '1',
		            		'has-complete': item.problemStatus == '2'}">
		              {{item.problemStatus == 0 ? '待整改' :
		              	item.problemStatus == 1 ? '待审核' :
		              	item.problemStatus == 2 ? '已完成' :
		              	item.problemStatus == 3 ? '符合要求' : ''}}
								</td>
								<td>
									<div class="del"
										authorization-btn="api/checkRecord/app/queryContentDetail"
										ng-click="inspectContent.checkDetail(item.problemId)">
										<i class="fa fa-street-view color"></i>
										<span>查看</span>									
									</div>
									<div class="del"
										authorization-btn="api/securityActivities/checkProblem/deleteCheckProblem"
										ng-click="inspectContent.deleteInspectContent(item.problemId)">
										<i class="fa fa-trash color"></i>
										<span>删除</span>
									</div>									
								</td>
							</tr>
						</tbody>
					</table>
				</form>
				<div class="total-num">
				  共计<span class="total-num-colorful">
				  {{inspectContent.paginationData.total}}</span>条
				</div>
				<!-- 分页 -->
		    <div class="pagination-outer">
		      <uib-pagination
		        total-items="inspectContent.paginationData.total"
		        ng-model="inspectContent.paginationData.pageNum"
		        items-per-page="inspectContent.paginationData.pageSize"
		        ng-change="pageChange()"
		        class="pagination-sm"
		        boundary-link-numbers="true"
		        max-size="5"
		        next-text="下一页"
		        previous-text="上一页"></uib-pagination>
	      </div>
			</div> 
	</div>
</div>